import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { DeviceAlarmComponent } from './device-alarm/device-alarm.component'
import { PersonAlarmComponent } from './person-alarm/person-alarm.component'


const routes: Routes = [
  {path: 'warning-dic-list', loadChildren: () => import('./warning-dic-list/dic-list.module').then(m => m.DicListModule)},
  {path: 'warning-list', loadChildren: () => import('./warning-list/warning-list.module').then(m => m.WarningListModule)},
  {path: 'watch-warning-list', loadChildren: () => import('./watch-warning-list/watch-warning-list.module').then(m => m.WatchWarningListModule)},
  {path: 'warning-device-list',component:DeviceAlarmComponent},
  {path: 'warning-person-list',component:PersonAlarmComponent}
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class WarningManageRoutingModule { }
